package com.leyou.auth;


import com.leyou.common.advice.EnableExceptionAdvice;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;


@EnableEurekaClient
@SpringBootApplication
@EnableExceptionAdvice
@MapperScan("com.leyou.auth.mapper")
public class AuthStart {
    public static void main(String[] args) {
        SpringApplication.run(AuthStart.class, args);
    }
}
